package com.ctshk.rpc.order.airexpress.dto.mtr;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.NoArgsConstructor;

/**
 * <p>
 *
 * </p>
 *
 * @author 胡广
 * @since 2021/2/19
 */
@Data
@NoArgsConstructor
@ApiModel(value = "机场快线票DTO", description = "机场快线票DTO")
public class AirportExpressTicketMTRDTO {
    @ApiModelProperty("序号")
    private int item;
    @ApiModelProperty("MTR的产品编码")
    private String product;
    @ApiModelProperty("机场快线旅客类型，枚举，0:Adult,3: Child")
    private String profile;
    @ApiModelProperty("票数")
    private int qty;
    @ApiModelProperty("唯一的二维码车票识别码")
    private String tid;
    @ApiModelProperty("二维码")
    private String qrcode;

    @ApiModelProperty("状态(”void”:the ticket is void”,used:the ticket is used,”not-used”:ticket ready to use,“in-use”:single trip is used)")
    private String status;
    //
    @ApiModelProperty("二维码图片全称")
    private String fullName;

    public AirportExpressTicketMTRDTO(int item, String product, String profile, int qty) {
        this.item = item;
        this.product = product;
        this.profile = profile;
        this.qty = qty;
    }
}
